<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
	</head>
	<body>
	</body>
	<script type="text/javascript">
		var arr = ["我","是","中","国","人"];
//		数组倒置
		arr.reverse()
		var num = [2,4,7,3,5,6,1];
		var num2 = [20,18,3,0,1,4,7];
		
		console.log(num.sort())
		console.log(num2.sort())
		console.log(arr.reverse())
	</script>
</html>
